package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 房屋产权信息
 对象 tmc_house_info
 *
 * @author ruoyi
 * @date 2021-05-17
 */
public class TmcHouseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 小区ID */
    @Excel(name = "小区ID")
    private Long companyId;

    /** 楼栋名称 */
    @Excel(name = "小区名称")
    private String companyName;
    /** 楼栋名称 */
    @Excel(name = "楼栋名称")
    private String unitname;

    /** 房间号 */
    @Excel(name = "房间号")
    private String housenum;

    /** 面积 */
    @Excel(name = "面积")
    private Double area;

    /** 人数 */
    @Excel(name = "人数")
    private Long personcount;

    private List<TmcHouseUser> tmcHouseUserList;
    private TmcHouseBill tmcHouseBill;

    public TmcHouseBill getTmcHouseBill() {
        return tmcHouseBill;
    }

    public void setTmcHouseBill(TmcHouseBill tmcHouseBill) {
        this.tmcHouseBill = tmcHouseBill;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public List<TmcHouseUser> getTmcHouseUserList() {
        return tmcHouseUserList;
    }

    public void setTmcHouseUserList(List<TmcHouseUser> tmcHouseUserList) {
        this.tmcHouseUserList = tmcHouseUserList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setUnitname(String unitname)
    {
        this.unitname = unitname;
    }

    public String getUnitname()
    {
        return unitname;
    }
    public void setHousenum(String housenum)
    {
        this.housenum = housenum;
    }

    public String getHousenum()
    {
        return housenum;
    }
    public void setArea(Double area)
    {
        this.area = area;
    }

    public Double getArea()
    {
        return area;
    }
    public void setPersoncount(Long personcount)
    {
        this.personcount = personcount;
    }

    public Long getPersoncount()
    {
        return personcount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("companyId", getCompanyId())
                .append("unitname", getUnitname())
                .append("housenum", getHousenum())
                .append("area", getArea())
                .append("personcount", getPersoncount())
                .toString();
    }
}